{% spaceless %}
{% load url from future %}
{% load i18n %}
{% load bootstrap_tags %}

<form method="POST" id="form-login" action="{% url "account_login" %}" autocapitalize="off" class="form-horizontal"{% if form.is_multipart %} enctype="multipart/form-data"{% endif %}>
{% csrf_token %}
{{ form|as_bootstrap }}
{% if redirect_field_value %}
	<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
{% endif %}
<p><a href="{% url "account_password_reset" %}" style="margin-left:180px">{% trans "Forgot your password?" %}</a></p>
{% comment %}
<p><a href="{% url "account_signup" %}" style="margin-left:180px">{% trans "Don't have an account?" %}</a></p>
{% endcomment %}
<div class="progress progress-striped active" id="form-progress" style="display:none; margin-top: 20px">
	<div class="bar" style="width: 100%;">Please Wait</div>
</div>
</form>
{% endspaceless %}
